﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Checkbox
{
    class Computer
    {
        /// <summary>
        /// 存储拳头
        /// </summary>
        /// <returns></returns>
        public String Fist {
            get;
            set;
        }
        public int InputFen()
        {

            Random rd = new Random();
            switch (rd.Next(1,4))
            {
                case 1:this.Fist = "石头";
                    return 1;
                case 2:this.Fist = "布";
                    return 2;
                case 3:this.Fist = "剪刀";
                    return 3;
            }
            return 0;
        }
    }
}
